package com.mllweb.blog.service;

import com.mllweb.blog.data.orm.BlogUser;
import com.mllweb.blog.data.orm.BlogUserLogin;
import com.mllweb.blog.service.state.LoginState;

/**
 * 用户服务
 */
public interface UserService {
    /**
     * 用户登录
     *
     * @param login
     */
    LoginState login(BlogUserLogin login);

    void register(BlogUser user, BlogUserLogin userLogin);
}
